home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Friends / Wave / WavesWorld / Source / IBPalettes / WW3DKit / WWSceneClock.h < prev    next >
Encoding:
Text File  |  1995-05-16  |  1.0 KB  |  45 lines

  1. // copyright 1993 Michael B. Johnson; some portions copyright 1994, MIT
  2. // see COPYRIGHT for reuse legalities
  3. //
  4.  
  5.  
  6. #import <appkit/appkit.h>
  7.  
  8. @interface WWSceneClock:Object
  9. {
  10.    float          currentTime, increment, skip, samplesPerSecond, ratio;
  11.    id             scene, delegate;
  12.    DPSTimedEntry  timedEntry;
  13.    BOOL           isPaused;   
  14.    float          mark;  // this is just a hint for play to auto-stop; 
  15. }
  16.  
  17. - (BOOL)isPaused;
  18. - (float)mark;
  19. - setMark:(float)newMark;
  20. - takeMark:sender;
  21. - decrement:sender;
  22. - fastForward:sender;
  23. - increment:sender;
  24. - pause:sender;
  25. - play:sender;
  26. - rewind:sender;
  27. - reset:sender;
  28. - (float)increment;
  29. - (float)skip;
  30. - (float)ratio;
  31. - (float)timestamp;
  32. - (float)currentTime;
  33. - (float)samplesPerSecond;
  34. - delegate;
  35. - setCurrentTime:(float)newTime; 
  36. - setCurrentTimeQuietly:(float)newTime;  // god, this is gross!!!
  37. - setSamplesPerSecond:(float)newSamplesPerSecond;
  38. - setIncrement:(float)newIncrement;
  39. - setSkip:(float)newIncrement;
  40. - setRatio:(float)newRatio;
  41. - setScene:newScene;
  42. - setDelegate:newDelegate;
  43.  
  44. @end
  45.